import { httppost } from "@/plugins/request/getSignRequest"
// 获取工具列表
export function getToolList(data) {
  return httppost({
    URL: "/shop/detail/getToolList",
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
// 基本急救生成预约订单 传参名为toolList
export function generateServiceOrder (data) {
  return httppost({
    URL: "/shop/order/generateServiceOrder",
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}

// 根据订单编号查询订单详情
export function getServiceOrderList (data) {
  return httppost({
    URL: "/shop/order/getServiceOrderList",
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
// 健康分析
export function getUserBodyCompositionList (data) {
  return httppost({
    URL: "/shop/manage/getUserBodyCompositionList",
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
// 健康分析列表
export function getUserBodyCompositionListPage (data) {
  return httppost({
    URL: "/shop/manage/getUserBodyCompositionListPage",
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
// 添加修改户生成健康二维码
export function updateQRCode (data) {
  return httppost({
    URL: "/shop/category/updateQRCode",
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
// 添加修改户生成健康二维码
export function userQRCode (data) {
  return httppost({
    URL: "/shop/category/userQRCode",
    JSONStr: data,
    sign: "WuHanBenSenCoLid"
  })
}
